.profile-container {
  background-color: #f5f7fa;
  min-height: 100vh;
}

/* 用户信息区域 */
.user-header {
  background: linear-gradient(135deg, #1989fa 0%, #37b3ff 100%);
  padding: 40rpx 30rpx;
  display: flex;
  align-items: center;
  color: white;
}

.avatar {
  width: 140rpx;
  height: 140rpx;
  border-radius: 50%;
  border: 4rpx solid rgba(255, 255, 255, 0.3);
}

.user-info {
  margin-left: 30rpx;
  flex: 1;
}

.username {
  font-size: 36rpx;
  font-weight: bold;
  display: block;
  margin-bottom: 10rpx;
}

.user-id {
  font-size: 26rpx;
  opacity: 0.8;
}

.logout-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 15rpx 30rpx;
  border-radius: 40rpx;
  font-size: 26rpx;
}

/* 数据统计卡片 */
.stats-card {
  background-color: white;
  margin: 30rpx;
  border-radius: 20rpx;
  padding: 30rpx 0;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10rpx 20rpx;
}

.stat-value {
  font-size: 40rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 10rpx;
}

.stat-label {
  font-size: 26rpx;
  color: #666;
}

/* 最近记录区域 */
.records-section {
  margin: 30rpx;
  background-color: white;
  border-radius: 20rpx;
  padding: 30rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30rpx;
}

.section-title {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
}

.view-all {
  font-size: 26rpx;
  color: #1989fa;
}

.record-type {
  margin-bottom: 30rpx;
}

.record-type-title {
  font-size: 28rpx;
  color: #666;
  margin-bottom: 20rpx;
  display: block;
}

.record-list {
  border-left: 4rpx solid #f0f0f0;
  padding-left: 20rpx;
}

.record-item {
  padding: 20rpx 0;
  border-bottom: 1rpx solid #f5f5f5;
  position: relative;
}

.record-item::before {
  content: '';
  position: absolute;
  left: -26rpx;
  top: 30rpx;
  width: 16rpx;
  height: 16rpx;
  border-radius: 50%;
  background-color: #1989fa;
}

.record-title {
  font-size: 30rpx;
  color: #333;
  display: block;
  margin-bottom: 10rpx;
}

.record-status {
  font-size: 24rpx;
  padding: 5rpx 15rpx;
  border-radius: 20rpx;
  margin-right: 20rpx;
}

.status-pending {
  background-color: #fff7e6;
  color: #ff9800;
}

.status-completed {
  background-color: #e6f7f0;
  color: #00b42a;
}

.status-checkin {
  background-color: #e8f4fd;
  color: #1890ff;
}

.status-identify {
  background-color: #f0e6ff;
  color: #722ed1;
}

.record-time {
  font-size: 24rpx;
  color: #999;
}

.empty-records {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60rpx 0;
}

.empty-icon {
  width: 160rpx;
  height: 160rpx;
  margin-bottom: 20rpx;
  opacity: 0.5;
}

/* 功能入口区域 */
.functions-section {
  margin: 30rpx;
  background-color: white;
  border-radius: 20rpx;
  padding: 30rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}

.function-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20rpx;
}

.function-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20rpx 0;
}

.function-icon {
  width: 80rpx;
  height: 80rpx;
  background-color: #f0f7ff;
  color: #1989fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40rpx;
  margin-bottom: 15rpx;
}

.function-name {
  font-size: 26rpx;
  color: #666;
  text-align: center;
}

/* 未登录提示 */
.login-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100rpx 0;
}

.prompt-icon {
  width: 200rpx;
  height: 200rpx;
  margin-bottom: 40rpx;
  opacity: 0.5;
}

.prompt-text {
  font-size: 30rpx;
  color: #666;
  margin-bottom: 40rpx;
}

.login-btn {
  background-color: #1989fa;
  color: white;
  border: none;
  padding: 20rpx 60rpx;
  border-radius: 40rpx;
  font-size: 30rpx;
}